﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VisitorPattern.Visitor;

namespace VisitorPattern.Models.Student
{
    public class StudentFree : Student
    {
        /// <summary>
        /// 重写抽象方法，使其适用于vip学员
        /// </summary>
        /// <param name="visitor">将具体的获取方法传入以实现</param>
        public override void GetVideos(IVisitor visitor)
        {
            visitor.VipStudentGet(this);
        }
    }
}
